Introduction
Batch file is a simple list of commands that can be used to
create automated tasks.
You can find the comprehensive list of Batch file commands in
here.
The commands used in a batch file are the same used in the Console.
This means that the easiest way to create a batch file is to
control jv16 PowerTools with the Console and write down all
the command you need to write for the desired operation.
To create batch files you only need a text editor, such as Notepad.
The file extension of a batch file is ".jvb". You
can run these files by double clicking them if you haven't
modified jv16 PowerTools' settings.
Examples
RegTool
CS StartUp
SaveList RegTool "C:\startup.txt"
Terminate |
This batch saves the list of programs which start automatically
to "C:\startup.txt".
RegTool
CS StartUp
FindMark RegTool "Napster"
Click RegTool Button "Remove"
Terminate |
This batch finds Napster's registry entries and removes them.
Kill "Winamp.exe"
Kill "Napster.exe"
Terminate |
This simple batch terminates Winamp and Napster.
FileTool
FindFiles [Source="$C:\Windows\"] Find="*.exe"
Savelist FileTool "C:\Programs.txt"
Terminate |
This batch finds all .exe files
from C:\Windows\ and saves the results to a text file. The $
symbol in the FindFiles command means that the program also
checks the sub directories.
FileTool
FindFiles [Source="$D:\MP3\"] Find="*.mp3"
Special="OnlyDuplicates"
Savelist FileTool "D:\Removed dupes.txt"
Click FileTool Menu "Based on last modified date"
Click FileTool Button "Remove"
Terminate |
This batch finds all your duplicate MP3 files (from D:\MP3),
saves the results to a file and then removes the duplicate files.
|
|
|